package com.superquan.selfstudybootmybatis.utils.proxy.dynamic_proxy_cglib;

/**
 * @program: self-study-bootmybatis
 * @ClassName CglibProxyTest
 * @description: cglib动态代理测试类
 * @author: zwq
 **/
public class CglibProxyTest {
    public static void main(String[] args) {
        CglibProxy cglibProxy = new CglibProxy();
        UserDao userDao = (UserDao) cglibProxy.getInstance(new UserDaoImpl());
        userDao.save();
    }
}
